﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.woodsoft.core.Files;
using com.woodsoft.core;
using System.Xml;
using EQ1.Elements;
using EQ1.Objects;

namespace EQ1.Files {
	public class UIFile:UIDocument {
    public UIFile () : base() {
      this.Initialize();
    }
		public UIFile ( string path ) : base(path) {
			this.Initialize();
		}
    
		private void Initialize () {
			UIXML par = new UIXML( this );
      XmlElement  schema = this.CreateElement( "Schema" );
      schema.SetAttribute( "xmlns" , "EverQuestData" );
      schema.SetAttribute( "xmlns:dt" , "EverQuestDataTypes" );
			par.AppendChild( schema );
			this.AppendChild( par );
		}
	}
}
